package com.cloudbroker.bcs.platform.ltb.middle.service;

import com.cloudbroker.bcs.common.service.base.ServiceBase;
import com.cloudbroker.bcs.platform.ltb.middle.entity.ValidateCode;

/**
 * Created by tianrui on 2016/7/5.
 */

public interface ValidateCodeService extends ServiceBase<ValidateCode, String> {

    boolean checkCode(String check_code, String mobile_tel, String broker_key, Integer verify_source);

    boolean checkCodeTime(String mobile_tel, String broker_key, Integer verify_source);

    public void addValidateCode(ValidateCode validateCode);

}